<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>嘉兴社区平台_美动传媒</title>
<!-- <link rel="stylesheet/less" href="__PUBLIC__/css/style.less" />
<script src="__PUBLIC__/js/less-1.5.0.min.js"></script> -->
<link rel="stylesheet" href="__PUBLIC__/css/style.css">
<link rel="stylesheet" href="__PUBLIC__/css/font-awesome.min.css">
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.8.2.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/carousel.js"></script>
<script type="text/javascript">

$(document).ready(function() {
	
	var adurl = [
	             "{$pushdata_list['index-left-ad'][0].url}",
	             "{$pushdata_list['index-right-ad'][0].url}",
	             "{$pushdata_list['index-left-ad'][1].url}",
	             "{$pushdata_list['index-right-ad'][1].url}"
	             ];
	var adimg = [
	             "{$pushdata_list['index-left-ad'][0].img}",
	             "{$pushdata_list['index-right-ad'][0].img}",
	             "{$pushdata_list['index-left-ad'][1].img}",
	             "{$pushdata_list['index-right-ad'][1].img}"
	             ];					
	var adclass = [
	             "float-ad-left",
	             "float-ad-right",
	             "float-ad-left float-ad-bottom",
	             "float-ad-right float-ad-bottom"
	             ];
	
	
	for(var i = 0 ; i < adurl.length ; i++){
		
		$div = $('<div class="float-ad" ></div>');
		$aurl = $('<a target="_blank" ></a>');
		$img = $('<img border=0 width="100" >');
		$aclose = $('<a class="float-ad-close" href=JavaScript:; ><img border=0 src=__PUBLIC__/images/close.gif></a>');

		var id = '';
		
		if(adimg[i] != '' && adimg[i] != null){
			id = "ad_"+i;
			
			$div.attr('id',id);
			$div.addClass(adclass[i]);
			$aurl.attr('href',adurl[i]);
			$img.attr('src','__ROOT__'+adimg[i]);
			$aclose.attr('onclick',id+".style.display = 'none'");
			
			$aurl.append($img);
			$div.append($aurl).append('<br>').append($aclose);
			
			$('#float-ad').append($div);
		}
	}
	
});




</script>

<!--[if IE]>
   <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>

<div id='float-ad' class="float-ad-wrap">

</div>

<header class="cc">
	<include file="Public:header" />
</header>

<nav>
	<include file="Public:nav" />
</nav>

<div class="home-index">
	
	<div class="player">
	
		<!--<volist name="pushdata_list['player']" id='vo'>
		<a href="{$vo.url}"><img src="__ROOT__{$vo.img}" alt="{$vo.title}"></a>
		</volist>
	
		
	 -->
	 <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
       <ol class="carousel-indicators">
         <volist name="pushdata_list['player']" id='vo'>
	        	<if condition=" $key eq 0">
	        		<li data-target="#carousel-example-generic" data-slide-to="{$key}" class="active"></li>
				<else />
					<li data-target="#carousel-example-generic" data-slide-to="{$key}"></li>
				</if>
            </volist>
       </ol>
       <div class="carousel-inner">
         <volist name="pushdata_list['player']" id='vo' >
        
       		<if condition=" $key eq 0 ">
        	   <div class="item active">
	             <a href="{$vo.url}"><img src="__ROOT__{$vo.img}" alt="{$vo.title}"></a>
	           </div>
			<else />
			    <div class="item">
	             <a href="{$vo.url}"><img src="__ROOT__{$vo.img}" alt="{$vo.title}"></a>
	           </div>
			</if>
          
          </volist>
       </div>
       <a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
         <span class="glyphicon glyphicon-chevron-left"></span>
       </a>
       <a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
         <span class="glyphicon glyphicon-chevron-right"></span>
       </a>
     </div>
		   
	</div>

	<div class="wsq">

		<img src="__PUBLIC__/images/qrcode.jpg" alt="">
		<p>我们的官方微信号是MEDON573，欢迎加入我们来参加各类活动，众多奖品等你拿！</p>

		<a href=""><i class="icon-caret-right"></i> 微官网</a>
		<a href=""><i class="icon-caret-right"></i> 微社区</a>
		<a href=""><i class="icon-caret-right"></i> 微留言</a>
	</div>
	<div class="c"></div>
	<div class="article-container">
		<div class="article-left">
			<div class="left-up">
				<div class="art-img">
					<div class="article-img-item">
						<div class="article-img">
							<volist name="pushdata_list['wsq-img']" id='vo'>
							<a href="{$vo.url}" class="img"><img src="__ROOT__{$vo.img}" alt="{$vo.title}"></a>
							</volist>
							<span><a href='__MODULE__/Article/cate/id/2'>微社区</a></span>
						</div>
						<ul>
							<volist name="pushdata_list['wsq-list']" id='vo'>
								<li><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
							</volist>
						</ul>
					</div>
				</div>
				
				<div class="article-list">
					<div class="article-list-item">
						<h3><a href='__MODULE__/Article/cate/id/1'>家居</a></h3>
						<ul>
							<volist name="pushdata_list['home']" id='vo'>
								<if condition=" $key eq 0 ">
									<li class="blue"><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
								<else />
									<li><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
								</if>
								
							</volist>
						</ul>
					</div>
	
					<div class="article-list-item">
						<h3><a href='__MODULE__/Article/cate/id/5'>教育</a></h3>
						<ul>
							<volist name="pushdata_list['education']" id='vo'>
								<if condition=" $key eq 0 ">
									<li class="blue"><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
								<else />
									<li><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
								</if>
							</volist>
						</ul>
					</div>
				</div>
			</div>	
			<div class="left-ad">
				  <volist name="pushdata_list['left-ad-a']" id='vo'>
				   <a href="{$vo.url}" target="_blank"><img src="__ROOT__{$vo.img}" alt="{$vo.title}"></a>
				  </volist>
			</div>
			
			<div class="left-down">
				
				<div class="art-img">
					<div class="article-img-item">
						<div class="article-img">
							<volist name="pushdata_list['travel-img']" id='vo'>
							<a href="{$vo.url}" class="img"><img src="__ROOT__{$vo.img}" alt="{$vo.title}"></a>
							</volist>
							<span><a href='__MODULE__/Article/cate/id/4'>旅游</a></span>
						</div>
						<ul>
							<volist name="pushdata_list['travel-list']" id='vo'>
								<li><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
							</volist>
						</ul>
					</div>
				</div>
				
				<div class="article-list">
					<div class="article-list-item">
						<h3><a href='__MODULE__/Article/cate/id/6'>养生</a></h3>
						<ul>
							<volist name="pushdata_list['life']" id='vo'>
								<if condition=" $key eq 0 ">
									<li class="blue"><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
								<else />
									<li><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
								</if>
							</volist>
						</ul>
					</div>
	
					<div class="article-list-item">
						<h3><a href='__MODULE__/Article/cate/id/7'>美食</a></h3>
						<ul>
							<volist name="pushdata_list['food']" id='vo'>
								<if condition=" $key eq 0 ">
									<li class="blue"><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
								<else />
									<li><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
								</if>
							</volist>
						</ul>
					</div>
				</div>
			
			</div>
			<div class="left-ad">
				  <volist name="pushdata_list['left-ad-b']" id='vo'>
				   <a href="{$vo.url}" target="_blank"><img src="__ROOT__{$vo.img}" alt="{$vo.title}"></a>
				  </volist>
			</div>
			
			<div class="c"></div>
		</div>
		<div class="article-right">
			<div class="act-list cc">
				<h3>活动报名</h3>
				<volist name="pushdata_list['act-join-list']" id='vo'>
					<div class="join-act">
						<a href="{$vo.url}" class="img"><img src="__ROOT__{$vo.img}" alt="{$vo.title}"></a>
						<p>
							<a href="{$vo.url}">{$vo.title|msubstr=0,17,'utf-8',false}</a>
							<cite><a href="{$vo.url}">[报名]</a></cite>
						</p>
						
					</div>
				</volist>
				
		<!-- 		<ul>
					<volist name="pushdata_list['act-join-list']" id='vo'>
						<li><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
					</volist>
				</ul> -->

			<!-- 	<div class="ad-c">
					<volist name="pushdata_list['act-join-img']" id='vo'>
						<a href="{$vo.url}" target="_blank"><img src="__ROOT__{$vo.img}" alt="{$vo.title}"></a>
					</volist>
				</div> -->
			</div>

			<div class="act-list">
				<h3>活动预告</h3>
					<volist name="pushdata_list['act-pre']" id='vo'>
						<div class="ad-c">
						<a href="{$vo.url}" target="_blank"><img src="__ROOT__{$vo.img}" alt="{$vo.title}"></a>
						</div>
					</volist>
			</div>

			<div class="act-list no-bo">
				<h3>活动回顾</h3>
				<ul class="horizontal">
					<volist name="pushdata_list['act-review-list']" id='vo'>
						<li><i>·</i><a href="{$vo.url}">{$vo.title|msubstr=0,30,'utf-8',false}</a></li>
					</volist>
				</ul>

				<div class="act-img-item">
					<volist name="pushdata_list['act-review-img']" id='vo'>
					<a href="{$vo.url}">
						<img src="__ROOT__{$vo.img}" alt="{$vo.title}">
						<p>{$vo.title|msubstr=0,30,'utf-8',false}</p>
					</a>
					</volist>
				</div>
				<div class="c"></div>
			</div>

		</div>
	</div>
	
	<div class="c"></div>
	<div class="links">
		<volist name="link_list" id='vo'>
			<a href="{$vo.url}" target="_blank"><img src="__ROOT__{$vo.img}" alt="link"/></a>
		</volist>
	</div>
</div>
</body>

<footer>
	<p>公司地址：嘉兴市南湖区富民路105号（嘉兴国际创意文化产业园内）</p>
	<p>电话：0573-83778008   传真：0573-82623018  电子邮箱：meidong@vip.sina.com</p>
	<p>Copyright 2012 Shequlianbo.com 美动传媒 </p>

</footer>
</html>
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F941edc2e621f7a73d88dbe4c2c35bf2e' type='text/javascript'%3E%3C/script%3E"));
</script>